package com.csun.cmny.provider.model.vo;

import com.csun.cmny.provider.model.domain.OmcServiceComplaint;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ServiceListComplaintVo {

    //订单id
    private Long orderId;

    //订单号
    private String orderNo;

    //一级服务类别名称
    private String firstLevelName;

    /*
     * 投诉状态 0-无投诉 1-待处理 2-已处理*/
    private Integer complaintStatus;

    //订单完成时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date serviceEndTime;

    //订单创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;

    //投诉时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date complaintTime;


    //投诉
    private OmcServiceComplaint omcServiceComplaint;

}
